package cn.jly.flink.custom;

import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;

/**
 * @author lanyangji
 */
public class SourceFromMysqlApp {
    public static void main(String[] args) throws Exception {
        StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();

        env.addSource(new SourceFromMysql()).print();

        env.execute("SourceFromMysqlApp");
    }
}
